package com.norteksoft.projectname.module1.service.impl;

import com.norteksoft.projectname.module1.dao.DepartmentDao;
import com.norteksoft.projectname.module1.service.DepartmentManager;
import com.norteksoft.struts.dao.EntityDao;
import com.norteksoft.struts.service.HibernateEntityManager;

/**
 * @spring.bean id="departmentManager"
 * @author huhc
 *
 */
public class DepartmentManagerImpl extends HibernateEntityManager implements DepartmentManager {
	private DepartmentDao departmentDao;
	
	/**
	 * @spring.property ref="departmentDao"
	 * @param departmentDao
	 */
	public void setDepartmentDao(DepartmentDao departmentDao) {
		this.departmentDao = departmentDao;
		setEntityDao((EntityDao)departmentDao);
	}
	
}
